/**
 * Perform the element default action.
 *
 * @param {JSEvent} event the event that triggered the action
 *
 * @properties={typeid:24,uuid:"591AECE3-4BA4-4C7C-888A-E7B9E5706B10"}
 */
function continuar(event) {
	databaseManager.addTableFilterParam('infocom',null,'ejercicio_id','=',globals.gEjercicioID,'EJERCICIO')
	globals.CerrarForm('EJERCICIO')
}

/**
 * Perform the element default action.
 *
 * @param {JSEvent} event the event that triggered the action
 *
 * @properties={typeid:24,uuid:"B6FBAA14-B26D-471E-950A-2B52089B1261"}
 */
function crear(event) {
	databaseManager.setAutoSave(false)
	forms.ejercicios_crear.controller.newRecord()
	application.showFormInDialog(forms.ejercicios_crear,-1,-1,-1,-1,'',false,false,'crea_ej',true)
}
